package com.webex.ta.hydra;

import javax.swing.text.AttributeSet;
import javax.swing.text.BadLocationException;
import javax.swing.text.PlainDocument;

/**
 * Created by IntelliJ IDEA.
 * User: vegaz
 * Date: 2010-8-18
 * Time: 13:27:29
 * To change this template use File | Settings | File Templates.
 */
public class DummyDocument extends PlainDocument {
    public void insertString(int offs, String str, AttributeSet a) throws BadLocationException {
            System.out.println("insertString:" + offs + "," + str);
            // insert the string into the document
            super.insertString(offs, str, a);
        }

        public void remove(int offs, int len) throws BadLocationException {


            System.out.println("remove:" + offs + "," + len);
            super.remove(offs, len);
        }
}
